#include <iostream>
using namespace std;
#include <iomanip>
using std::setw;
#include <cmath>

int main()
{
	double bian[3];
	int key=0;
	for(int i=0;i<3;i++)
	{
		cin >> bian[i];
	}
	for (int i=0;i<2;i++)
	{
		double a;
		if (bian[0]+bian[1]>bian[2] & abs(bian[0]-bian[1])<bian[2])
		{
			a=bian[0];
			bian[0]=bian[1];
			bian[1]=bian[2];
			bian[2]=a;
		}
		else
		{
			cout << "no triangle" <<"\n";
			return 0;
		}
	}
	cout << "a triangle" << "\n";
	return 0;
}
